package com.zxl.grocery.modular.crawler.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.zxl.grocery.common.persistence.model.CrawlerNovel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 小说管理Dao
 *
 * @author zxl
 * @Date 2017-08-11 09:55:28
 */
public interface NovelMgrDao {

    List<String> getAllLinksByTypeId(@Param("typeId")Integer typeId);

    List<Map<String,Object>> getAllNovelList(@Param("page") Page<CrawlerNovel> page, @Param("beginTime") String beginTime, @Param("endTime") String endTime,
                                             @Param("snovelName") String snovelName, @Param("snovelAuthor") String snovelAuthor, @Param("schapter") String schapter,
                                             @Param("sstatus") Integer sstatus, @Param("splacedTop") Integer splacedTop, @Param("srecommend") Integer srecommend,
                                             @Param("ssourcesId") Integer ssourcesId, @Param("orderByField") String orderByField, @Param("isAsc") boolean isAsc);
}
